package cn.vivi.design.adapter.objadapter;

import cn.vivi.design.adapter.classadapter.SDCard;
import cn.vivi.design.adapter.classadapter.TFCard;
import cn.vivi.design.adapter.classadapter.TFCardImpl;

public class SDAdapterTF implements SDCard {

    TFCard tfCard = new TFCardImpl();

    @Override
    public String readSD() {
        return tfCard.readTF();
    }

    @Override
    public void writeSD(String msg) {
        tfCard.writeTF(msg);
    }
}
